package reading.common.exception;

import reading.common.enums.ErrorEnum;

/**
 * Created by yangbajing(yangbajing@gmail.com) on 2016-09-9.
 *
 * @author txw
 */
public class HlUnauthorizedException extends AbstractHlBaseException {


    public HlUnauthorizedException() {
        this(ErrorEnum.AUTH_ERROR.getValue(), "认证会话不存在，您需要登录访问", null);
    }

    public HlUnauthorizedException(String message) {
        this(ErrorEnum.AUTH_ERROR.getValue(), message, null);
    }

    public HlUnauthorizedException(int errCode, String errMsg, Object data) {
        super(errCode, errMsg, data);
    }
}
